#pragma once
#include <vector>
#include "Observer.h"

using namespace std;

class Subject {
private:
	vector <Observer*> observers;

public:
	Subject();
	void Subject::registerObserver(Observer* observer);
	void Subject::unregisterObserver(Observer* observer);
	void Subject::notifyObservers();

	void Subject::setObservers(vector <Observer*> observers);
	vector <Observer*> Subject::getObservers();

	~Subject();
};

